//
//  TuiJianTitleViewCell.m
//  LoverGo
//
//  Created by liudonghuan on 14-9-15.
//  Copyright (c) 2014年 yexiao. All rights reserved.
//

#import "TuiJianTitleViewCell.h"


@implementation TuiJianTitleViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        _qishu = [[UILabel alloc]initWithFrame:CGRectMake(10, 0, 40, 60)];
        _biaoti = [[UILabel alloc]initWithFrame:CGRectMake(55, 10, 180, 20)];
        _title = [[UILabel alloc]initWithFrame:CGRectMake(55, 30, 190, 20)];
        _qishu.font = [UIFont fontWithName:@"Helvetica" size:11];
        _biaoti.font = [UIFont fontWithName:@"Helvetica" size:13];
        _title.font = [UIFont fontWithName:@"Helvetica" size:14];
        _qishu.text = @"第30期";
        _biaoti.text = @"情侣去哪儿推荐";
        _title.text = @"适合情侣的咖啡厅";
        _qishu.textColor = [UIColor whiteColor];
        _biaoti.textColor = [UIColor whiteColor];
        _title.textColor = [UIColor whiteColor];
        _righticon = [[EMAsyncImageView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH-85, 5, 75, 55)];
        //_righticon.image = [UIImage imageNamed:@"tuijiantitle.png"];
        _qishu.textAlignment = UITextAlignmentCenter;
        _quan = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 40, 40)];
        _quan.image = [UIImage imageNamed:@"tuijian_quan.png"];
        
        
        [self addSubview:_qishu];
        [self addSubview:_biaoti];
        [self addSubview:_title];
        [self addSubview:_righticon];
        [self addSubview:_quan];
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
